package com.huatai.exchange.bootup.controller;

import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping(value = "")
public class DemoController {

	@RequestMapping(value = "", method = RequestMethod.GET)
	public void indexOfAll(ServletResponse servletResponse) throws Exception {
		HttpServletResponse httpResponse = (HttpServletResponse) servletResponse;
		httpResponse.sendRedirect("/swagger-ui.html");
	}
}
